Dereferencing pointers and
the address operator |
| Dereferencing refers to accessing the value that
| a pointer points to. |
| To do this “*” operator that interprets single |
| argument as an address and returns the |
| contents of the address as the value of the |
| operation. Usage: |
| *p |
| EXAMPLE: |
| int i = 25, *j; |
| Here, j is a pointer to integer. Assume i and j are |
| allocated memory cells at addresses 5FA62 and |
| 5FA70, respectively. This means that the value of i is |
| 25, &i is 5FA62 and the value of &j is 5FA70. |